const express=require('express');
const app=express();
const router=require('./router.js');
const bodyParser=require('body-parser');
app.use(express.static(__dirname + '/public'));
//app.use(cookiePareser());
app.use(bodyParser.urlencoded({ extended: true }));
app.use(router);
app.listen(3000,()=>{
    console.log('server is running.....')
})
       